<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>变化曲线</title>
    <link rel="stylesheet" href="../lib/layui-v2.6.3/css/layui.css" media="all">
    <style>
        .outBox{
            width: 100%;
            height: 100%;
        }
        .toolbar{
            height: 72px;
            width: 100%;
            display: flex;
            align-items: center;
            border: 1px solid #eee;
        }
        .layui-form-label{
            width: 100px;
        }
    </style>
</head>
<body>
    <div class="outBox">
        <div class="toolbar">
            <div class="layui-inline">
                <label class="layui-form-label">开始时间选择</label>
                <div class="layui-input-inline">
                  <input type="text" class="layui-input" id="startTime" placeholder="yyyy-MM-dd HH:mm:ss">
                </div>
            </div>
        </div>
    </div>
</body>
<script src="../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script>
    layui.use(['layer', 'laydate'], function () {
        var laydate = layui.laydate;
        //日期时间选择器
        laydate.render({
            elem: '#startTime'
            ,type: 'datetime'
        });
    })
</script>
</html>